package com.mall.shopping.converter;

import com.mall.shopping.dal.entitys.Panel;
import com.mall.shopping.dto.PanelDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

import java.util.List;
import java.util.Set;

@Mapper(componentModel = "spring")
public interface IHomepageConverter {

    @Mappings({

    })
    PanelDto iHomepageDtos(Panel panel);

    Set<PanelDto> iHomepageDtos(Set<Panel> panels);
}
